import request from '@/utils/request'

/**
 * 表单操作
 * @name  保存业务数据
 * @method  POST
 * @url /businessinfo/save_businessinfo
 * @data
 */
export const PostSaveBusinessinfoAPI = (data) => request({
  url: `/businessinfo/save_businessinfo`,
  method: 'post',
  data,
})

/**
 * 表单操作
 * @name  根据业务Id获取表单数据明细
 * @method  GET
 * @url /businessinfo/get_businessinfo
 * @data business_info_id -> 业务数据Id
 */
export const GetBusinessinfoAPI = (business_info_id) => request({
  url: `/businessinfo/get_businessinfo?business_info_id=${business_info_id}`,
  method: 'get',
})